home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / ip / ka9q / osrc.arc / ASY.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-02-17  |  755 b   |  33 lines

  1. #ifndef    ASY_MAX
  2.  
  3. #include "global.h"
  4.  
  5. #define    ASY_MAX    5        /* Five asynch ports allowed on the PC */
  6. extern unsigned Nasy;
  7.  
  8. #define    SLIP_MODE    0
  9. #define    AX25_MODE    1
  10. #define    NRS_MODE    2
  11.  
  12. #if    defined(__STDC__) || defined(__TURBOC__)
  13. #ifdef    notdef
  14. int asy_init(int16 dev,struct iface *iface,char *arg1,char *arg2,unsigned bufsize);
  15. int asy_stop(struct iface *iface);
  16. int asy_ioctl(struct iface *iface,int argc,char *argv[]);
  17. #else
  18. int asy_init(),asy_stop(),asy_ioctl();
  19. #endif
  20. int asy_speed(int16 dev,int speed);
  21. void asy_output(unsigned dev,char *buf,unsigned short cnt);
  22. char get_asy(int16 dev);
  23. void asyint(unsigned dev);
  24. int stxrdy(int16 dev);
  25. #else
  26. int asy_stop(),asy_ioctl();
  27. #endif
  28. int doasystat();
  29.  
  30. #endif    /* ASY_MAX */
  31.  
  32.  
  33.